package enterprise.manage.service;

import enterprise.manage.entity.Authority;
import enterprise.manage.entity.User;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User:zhenmingyue
 * Date: 2012-11-21
 * Desc:
 */
public interface UserService {
    public void registerUser(User user);

    public boolean checkUserName(String userName);

    public List<Authority> queryUserAuthorities(Long userId);

    public List<String> queryUserAuthorityNames(Long userId);
}
